package com.david.dao;

import com.david.entity.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author David
 */
@Mapper
public interface ConsoleMapper {

    Integer countEmployee();

    Integer countDepartment();

    Double countMan(String gender);

    Integer countPolitics(String politics);

    void addMessage(Message message);

    List<Message> getMessage();
}
